<?php
namespace Bundle\ModuleBundle\Plugins\TextAreaPlugin;

    use Bundle\ModuleBundle\Plugin\Fields;

	use Bundle\ModuleBundle\Plugin\Field;

class TextAreaPlugin extends \Bundle\ModuleBundle\Plugin\Plugin
{
    public function getTitle()
    {
        return $this->_configuration->title;
    }
    public function boot()
    {
        $fields = array(
                    'text' => new Fields\TextField()
                );
        $this->_configuration->merge(array(
                    'works_with_array' => true,
                    'database' => array(
                        'fields' => $fields,
                    ),
                    'fields' => $fields,
                ));

    }

    public function getName() {
        return 'TextAreaPlugin';
    }

    
}